
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGShaderParameterVec2f.h>
#include <OpenSG/OSGShaderParameterVec2fBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ShaderParameterVec2f_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_ShaderParameterVec2f()
{
    scope* osg_ShaderParameterVec2fBase_scope = new scope(
    class_< osg::ShaderParameterVec2fBase, bases< osg::ShaderParameter > , boost::noncopyable >("ShaderParameterVec2fBase", no_init)
//        .def_readonly("ValueFieldMask", &osg::ShaderParameterVec2fBase::ValueFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ShaderParameterVec2fBase::MTInfluenceMask)
        .def("getClassType", &osg::ShaderParameterVec2fBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ShaderParameterVec2fBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ShaderParameterVec2fBase::*)() )&osg::ShaderParameterVec2fBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ShaderParameterVec2fBase::*)() const)&osg::ShaderParameterVec2fBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ShaderParameterVec2fBase::getContainerSize)
        .def("getValue", (osg::Vec2f& (osg::ShaderParameterVec2fBase::*)() )&osg::ShaderParameterVec2fBase::getValue, return_value_policy< copy_non_const_reference >())
        //.def("getValue", (const osg::Vec2f& (osg::ShaderParameterVec2fBase::*)() const)&osg::ShaderParameterVec2fBase::getValue, return_value_policy< copy_const_reference >())
        .def("setValue", &osg::ShaderParameterVec2fBase::setValue)
        .def("getBinSize", &osg::ShaderParameterVec2fBase::getBinSize)
        .def("copyToBin", &osg::ShaderParameterVec2fBase::copyToBin)
        .def("copyFromBin", &osg::ShaderParameterVec2fBase::copyFromBin)
        .def("create", &osg::ShaderParameterVec2fBase::create)
        .def("createEmpty", &osg::ShaderParameterVec2fBase::createEmpty)
        .def("shallowCopy", &osg::ShaderParameterVec2fBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::ShaderParameterVec2fBase::NextFieldId;
    scope().attr("ValueFieldId") = (int)osg::ShaderParameterVec2fBase::ValueFieldId;

    delete osg_ShaderParameterVec2fBase_scope;

    class_< osg::ShaderParameterVec2f, bases< osg::ShaderParameterVec2fBase > , boost::noncopyable, osg::ShaderParameterVec2fRefPtr >("ShaderParameterVec2f", no_init)
        .def("changed", &osg::ShaderParameterVec2f::changed)
        .def("dump", &osg::ShaderParameterVec2f::dump, osg_ShaderParameterVec2f_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::ShaderParameterVec2fPtr>();
    implicitly_convertible<osg::ShaderParameterVec2fRefPtr, osg::ShaderParameterVec2fPtr>();
    implicitly_convertible<osg::ShaderParameterVec2fPtr, osg::ShaderParameterPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::ShaderParameterVec2fPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ShaderParameterVec2fPtr>);
}

